cmake_minimum_required(VERSION 3.7.2)
project(dispalgm)
set(CMAKE_CXX_STANDARD 11)

add_library(sgbm include/precomp.hpp include/cvconfig.h source/stereosgbm.cpp)
add_executable(disp_srv source/disp_srv.cpp include/service_api.h)

find_package(OpenCV REQUIRED)
target_link_libraries(disp_srv ${OpenCV_LIBS})